<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" data-rule="required" class="form-control" name="row[code]" type="text" value="{$row.code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stockname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stockName" class="form-control" name="row[stockName]" type="text" value="{$row.stockName}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cgje')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cgje" data-rule="required" class="form-control" name="row[cgje]" type="number" value="{$row.cgje}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zf')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zf" class="form-control" name="row[zf]" type="number" value="{$row.zf}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yb')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-yb" class="form-control" name="row[yb]" type="number" value="{$row.yb}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
